package com.guchenbo.erp.inventory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.guchenbo.erp.dao.entity.ErpBaseModel;

/**
 * <p>
 * 仓库表
 * </p>
 *
 * @author guchenbo
 * @since 2025-07-12
 */
public class Warehouse extends ErpBaseModel {

    @TableId(value = "warehouse_id", type = IdType.AUTO)
    private Long warehouseId;

    private String name;

    private String location;

    private Byte status;

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Warehouse{" +
            "warehouseId = " + warehouseId +
            ", name = " + name +
            ", location = " + location +
            ", status = " + status +
        "}";
    }
}
